/*
 * File: Copy_of_SOPE.c
 *
 * Code generated for Simulink model 'Copy_of_SOPE'.
 *
 * Model version                  : 3.106
 * Simulink Coder version         : 9.4 (R2020b) 29-Jul-2020
 * C/C++ source code generated on : Fri Aug 27 00:46:37 2021
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: NXP->Cortex-M4
 * Code generation objective: MISRA C:2012 guidelines
 * Validation result: Not run
 */

#include "Copy_of_SOPE.h"
#include "Copy_of_SOPE_private.h"
#include "RTE.h"
#include "look2_iu8u16lu16n16tu1_h98F1U78.h"

/* Real-time model */
static RT_MODEL_Copy_of_SOPE_T Copy_of_SOPE_M_;
RT_MODEL_Copy_of_SOPE_T *const Copy_of_SOPE_M = &Copy_of_SOPE_M_;

/* Exported data definition */

/* Definition for custom storage class: ExportToFile */
uint16_T sopv_ma_DsgPulse = ((uint16_T)0U);/* '<S3>/Tab7' */

/* Model step function */
void Copy_of_SOPE_step(void)
{
    sopv_ma_DsgPulse = look2_iu8u16lu16n16tu1_h98F1U78(Rte_c_CellAvgTmp_GetVal(),
        (uint16_T)(soce_pct_SOC / 100U), (&(Pccfg_DsgContCurr_TmpAxis[0])),
        rtCP_Tab7_bp02Data, (&(Pccfg_DsgContCurr_CurrTab[0])),
        rtCP_Tab7_maxIndex, 25U);
}

/* Model initialize function */
void Copy_of_SOPE_initialize(void)
{
    /* (no initialization code required) */
}

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
